package cn.ayanami.blog.article.service;


import cn.ayanami.blog.article.entity.dto.AddCategoryDto;
import cn.ayanami.blog.article.entity.dto.EditCategoryDto;
import cn.ayanami.blog.article.entity.vo.CategoryVo;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface CategoryService {

    Mono<Integer> addCategory(AddCategoryDto dto);

    Mono<Integer> editCategoryDto(EditCategoryDto dto);
    
    Flux<CategoryVo> getAllCategories();

    Mono<Integer> deleteCategory(Integer categoryId);
}
